#include "gdata.h"

GData::GData(){

    inc = 0;
    minX = 0;
    maxX = 0;
    minY = 0;
    maxY = 0;
    nIst = 0;
}

void GData::updY(){

    minY = maxY = cpuTime[0];
    for(unsigned int i=1; i<cpuTime.size(); i++){
        if (cpuTime[i]<minY) minY = cpuTime[i];
        if (cpuTime[i]>maxY) maxY = cpuTime[i];
    }
}
